package org.sippr.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Creation {
    private Integer id;
    @NotNull
    private Integer projectId;
    private Integer sketchId;
    //    名字自动生成，以时间为名
    private String name;
    //    0代表纯文字，1代表草图和文字
    private Integer cate;
    private String createUser;
    private String modifyUser;

    private CreationImgAi creationImgAi;
    private CreationImgSketch creationImgSketch;
    private CreationStyle creationStyle;
    private CreationWordCue creationWordCue;
    private CreationWordNegative creationWordNegative;
    private String queueProcess;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime modifyTime;

    private String imgUrl;


}
